<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="author" content="The Campus Staff" />
        <meta name="keywords" content="Bishop's, Bishop's University, university, newspaper, Bishop's University Newspaper, The Campus, Campus, Campus Newspaper" />
        <meta name="description" content="The Campus: The Official Student Newspaper of Bishop's University" />
		    <meta name="robots" content="all" />
        <title>The Campus: The Official Student Newspaper of Bishop's University</title>

		<!-- IE hack to prevent flash of unstyled content -->
        <script type="text/javascript"></script>

		<!-- todo: develop a print media style -->
    <%= sylesheet_selector %>

  </head>
  <body>
    <div id="main_container">

		<div id="read_header">
			<h1>The Campus</h1>
		</div>

    <!--You are viewing .... issue, section -->
    <%if !@issue.nil?%>
    <div id="where_am_i">
      <%= render :partial=> 'where' %>
    </div>
    <% end %>


        <div id="read_navigation">
            <div id="read_search">
                <%= form_tag(:action => 'search') %>
                <%= text_field_tag(:query, "Search", :size => 10) %>
                <%= end_form_tag() %>
            </div><!-- /read_search -->
          
            <div>
            <ul>
                <li><%= link_to 'Lastest Issue', :action =>  'latest_issue'%> </li>
                <li><%= link_to 'More Issues', :action => 'archive'%> </li>
            </ul>
            
              <%if !@issue.nil?%>
              <ul>
                  <!-- In this issue -->
                  <li>
                    <h3> In this issue</h3>
                      <ul>
                        <%= render(:partial => 'list_sections', :collection=> @issue.sections, :locals => {:issue => @issue}) -%>
                      </ul>
                    </li>
                  </ul>
                  <%end%>
                  
                <%if !@section.nil? and !@article.nil? %>
                  <% if @section.articles.count > 1%>
                    <!-- In this section -->
                      <h3> In this section </h3>
                      <%=render :partial => 'articles_in_section', :object => @section, :locals =>{:current_article=> @article}%>
                    
                    <%end%>
                  <%end%>
            </ul>
          </div>               
            
        </div><!-- /read_navigation -->

<!--        <div id="read_adblock"> -->
            <p><script type="text/javascript"><!--
            google_ad_client = "pub-2716232239784024";
            google_alternate_color = "eeeeee";
            google_ad_width = 120;
            google_ad_height = 240;
            google_ad_format = "120x240_as";
            google_ad_channel ="";
            google_color_border = "eeeeee";
            google_color_bg = "eeeeee";
            google_color_link = "cc3366";
            google_color_url = "cc3366";
            google_color_text = "666666";
            //--></script>
<!--            <script type="text/javascript"
            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>--></p>
<!--         </div><!-- /adblock --> -->

        <div id="read_body">
            <%= @content_for_layout %>

        </div><!-- /read_body -->

        <div id="read_footer">
            This page is brought to you by the Snowflake Gangsters, puffins, and the letter R.
        </div><!-- /read_footer -->

    </div><!-- /main_container -->

</body>
</html>
